package com.project.webservice.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.project.webservice.dto.TbCenterLinkDto;
import com.project.webservice.entity.TbCenterLink;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface TbCenterLinkMapper extends BaseMapper<TbCenterLink> {
    public List<TbCenterLinkDto> getQualityCenterDayDetail(@Param("date")String  date);

    public IPage<TbCenterLinkDto> getQualityCenterDays(Page<TbCenterLinkDto> page, @Param("dto")TbCenterLinkDto  search);
}
